package com.order.service;

import com.order.pojo.Desk;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface DeskService {
    Integer insertDesk(Desk desk);
    Boolean setFull(Integer id);
    Boolean setEmpty(Integer id);
    Integer countDesk();
    Integer countEmptyDesk();
    List<Desk> findDesks();
    List<Desk> findEmptyDesks();
}
